package com.zeng.dao;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

/**
 * @author zeng
 * @data 2021/06/08 23:45
 */
@Component
public class User {
    @Value("zeng")
    private String name;
    //public void setName(String name) {
    //    this.name = name;
    //}
    public String getName() {
        return name;
    }
}
